Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(payments-plugin): List missing available Mollie payment methods for orders api #2435

Conversation

martijnvdbrug
Copy link
Collaborator

By default mollie.methods.list() lists payment methods for use with the payments API. However, the Mollie integration uses the orders integration. This resulted in some payment methods, like Klarna pay later not being listed.

This PR fixes that by passing orders to the mollie function: mollie.methods.list({resource: 'orders'}).

@netlify
Copy link

netlify bot commented Oct 10, 2023

Deploy Preview for effervescent-donut-4977b2 canceled.

Name Link
🔨 Latest commit 0ddfbd4
🔍 Latest deploy log https://app.netlify.com/sites/effervescent-donut-4977b2/deploys/6525383318e28100082384e1

@michaelbromley michaelbromley merged commit 23a0499 into vendure-ecommerce:master Oct 11, 2023
14 checks passed
@michaelbromley
Copy link
Member

Thanks!

@martijnvdbrug martijnvdbrug deleted the fix/mollie-get-enabled-methods branch October 19, 2023 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants